package com.yc.controller.Feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("market-order")
public interface OrderControllerFeign {
    //当调用这个接口方法时会返回另外服务中的这个方法
    @GetMapping("/mgoods/queryHots")
    String queryHots();
}
